var URL = {}

URL.System = {
	'systemTime': '/roses-writepen/system/getSystemTime',
	'login': '/gatewayAction/auth'
}

URL.School = {
	'get': '/roses-writepen/business/businessOrganization/getBusinessOrganization'
}

URL.class = {

	'getClassInfo': '/roses-writepen/business/businessClass/getClassBySelf',//获取班级信息
	'getClassMember': '/roses-writepen/business/businessClass/getMemberByClassId',//获取班级老师和学生,
	'getClassDeviceGroupList': '/roses-writepen/businessClassDeviceGroup/getBusinessClassDeviceGroupList',//获取班级绑定笔组
	'del': '/roses-writepen/business/businessClass/deleteBusinessClass',
	'getPage': '/roses-writepen/business/businessClass/getBusinessClassPage',
	'upd': '/roses-writepen/business/businessClass/editBusinessClass',
	'list': '/roses-writepen/business/businessClass/getBusinessClassList',
	'updSubTeachers': '/roses-writepen/business/businessClass/classAddMember', // 班级添加老师
	'listByTeacherId': '/roses-writepen/business/businessClass/getClassByTeacherId', // 根据老师id查班级
	'classBegin': '/roses-writepen/business/businessClass/classBegin', // 开始上课
	'classEnd': '/roses-writepen/business/businessClass/classEnd', // 结束上课
	'deviceMemberRelation': '/roses-writepen/business/businessClass/checkPenOnline',// 上课后查询学生和笔对应
}

URL.teachingAssistant = {
	singleStudentReadEnd: '/roses-writepen/teachingAssistantMarkingController/teachingAssistantCatalogMarkingEnd',
	getCatalogRecordNoRaw: '/roses-writepen/teachingAssistantQuestionRecord/getTeachingAssistantQuestionRecordNoRawList',
	getCatalogQuestionList: '/roses-question/teachingAssistantCatalogQuestion/getTeachingAssistantCatalogQuestionList',
	getStudentHomeworkRecord: '/roses-writepen/teachingAssistantQuestionRecord/getTeachingAssistantQuestionRecordList',
	getCommittedList: '/roses-writepen/teachingAssistantRecord/getTeachingAssistantRecordList',//获取已交作业学生列表
	get: `/roses-writepen/teachingAssistantSchoolCode/getTeachingAssistantByClassId`,//获取班级已应用教辅
	getList: '/roses-question/teachingAssistant/getTeachingAssistantByIds',//取教辅列表
	getCatalogList: 'roses-question/teachingAssistantCatalogCatalog/getTeachingAssistantCatalogList', //获取单个教辅的目录列表
	getUnRead: '/roses-writepen/teachingAssistantCatalogClassRecord/getTeachingAssistantCatalogClassRecordList',//获取教辅未阅章节
	getSectionDetail: '/roses-writepen/teachingAssistantRecord/getTeachingAssistantCatalogClassRecordList',//学生章节完成及批阅情况
	getCatalogById: '/roses-question/teachingAssistantCatalogCatalog/getTeachingAssistantCatalogById',//获取章节详细信息
	getCatalogQuestionCount: '/roses-question/teachingAssistantCatalogQuestion/getTeachingAssistantCatalogQuestionCount',//获取章节题目数量
	getCatalogListWithCommitedNumAndState: '/roses-writepen/teachingAssistantRecord/getTeachingAssistantCatalogClassNumStateList',//获取单个教辅的目录列表包含提交人数和状态(只显示有提交过的)
}

URL.ClassRecord = {// 课堂记录相关接口

	'list': '/roses-writepen/business/attendClassData/selectAttendClassRecordPage',
	'del': '/roses-writepen/business/attendClassData/deleteAttendClassRecord'

}

URL.teacher = {

	'loginInfo': '/roses-writepen/business/businessMember/getBusinessMemberInfo',
	'del': '/roses-writepen/business/businessMember/deleteBusinessMember',
	'getPage': '/roses-writepen/business/businessMember/getBusinessMemberPage',
	'upd': '/roses-writepen/business/businessMember/editBusinessMember',
	'list': '/roses-writepen/business/businessMember/getBusinessMemberList',
	'get': '/roses-writepen/business/businessMember/getBusinessMember', // 根据id查询
	'listByClassId': '/roses-writepen/business/businessClass/getMemberByClassId', // 根据班级id查询 老师／学生
	'classState': '/roses-writepen/business/businessClass/selectAttendClassRecord'// classState
}

URL.device = {

	baseUrl: '/roses-writepen/business/businessDevice/',
	'getPage': '/roses-writepen/business/businessDevice/getBusinessDevicePage',
	'upd': '/roses-writepen/business/businessDevice/editBusinessDevice',
	'list': '/roses-writepen/business/businessDevice/getBusinessDeviceList',//依据笔组获取设备列表
	'del': '/roses-writepen/business/businessDevice/deleteBusinessDevice',
	'bindTeacherHis': '/roses-writepen/device/deviceMember/selectBindingDeviceByTeacher',
	'bindTeacher': '/roses-writepen/device/deviceMember/bindingDeviceByTeacher',
	'deviceState': '/roses-writepen/business/businessClassOperation/selectPenStatus'// 查询笔的在线状态

}

URL.deviceGroup = {
	'del': '/roses-writepen/business/businessDeviceGroup/deleteBusinessDeviceGroup',
	'getPage': '/roses-writepen/business/businessDeviceGroup/getBusinessDeviceGroupPage',
	'upd': '/roses-writepen/business/businessDeviceGroup/editBusinessDeviceGroup',
	'list': '/roses-writepen/business/businessDeviceGroup/getBusinessDeviceGroup',
	'groupWithDevice': '/roses-writepen/business/businessDevice/getGroupBusinessDeviceList', // 查询分组和所属所有设备
	'listByClassId': '/roses-writepen/business/businessClass/bindOkByClassId', // 查询班级已经绑定的组别
	'listByClassId1': '/roses-writepen/business/businessDeviceGroup/getDeviceGroupByClassId'// 查询班级已经绑定的组别
}

URL.deviceMember = {
	'bindGroups': '/roses-writepen/device/deviceMember/bindingBusinessDeviceAndMembers'// 设备绑定组别
}

URL.exam = {
	'questionExam': '/roses-writepen/business/businessClassOperation/classExercisesByQuestion', // 开始做题
	'paperExam': '/roses-writepen/business/businessClassOperation/classExercisesByPaper', // 开始做题套卷
	'setExam': '/roses-writepen/business/businessClassOperation/examByStart', // 随堂小测
	'paperExamEnd': '/roses-writepen/business/businessClassOperation/classExercisesBySetEnd', // 做题套卷结束
	'paperExamNext': '/roses-writepen/business/businessClassOperation/classExercisesByPaperNext', // 做题套卷结束
	'questionExamRecord': '/roses-writepen/business/businessClassOperation/selectClassOperation', // 查询互动指令
	'classQuestionEnd': '/roses-writepen/business/businessClassOperation/classExercisesByQuestionEnd',
	'classSetEnd': '/roses-writepen/business/businessClassOperation/examByEnd', // 考试结束
	'classQuestionResult': '/roses-writepen/questionRecord/selectQuestionRecord',
	'answerOkStu': '/roses-writepen/business/businessClassOperation/selectOperationOkNum'// 查询答题完成的学生
}

URL.paper = {
	list: '/roses-question/examinationPaper/getExaminationPaper',
	listPage: '/roses-question/examinationPaper/getExaminationPaperPage',
	getQuestionByPaperId: '/roses-question/question/getQuestionsByPaper',
	get: '/roses-question/examinationPaper/selectExaminationPaperDetail',
	paperPdf: '/roses-question/examinationPaper/paperImgCreate',
	paperPlace: '/roses-question/examinationPaper/examinationPaperTypesetting',
	createPaper: '/roses-question/examinationPaper/createExaminationPaper', // 创建试卷
	changeQuestion: '/roses-question/examinationPaper/examinationPaperChangeQuestion',
	saveScore: '/roses-question/examinationPaper/examinationPaperUpdateScore',
	deleteSelected: '/roses-question/examinationPaper/deleteExaminationPaper', // 删除多套组卷
	antoPapaer: '/roses-question/examinationPaper/intelligenPaper', // 智能组卷,
	setEndTime: '/roses-writepen/business/businessClassOperation/updateOperationById'
}

URL.examAnswer = {
	selectByMember: '/roses-writepen/business/examinationPaperRecord/selectExamPaperByMember'

}

// 考试记录
URL.ExamRecord = {

	'list': '/roses-writepen/business/businessClassOperation/selectExamRecord',
	'del': '/roses-writepen/business/businessClassOperation/deleteExamRecord',
	'getCheckPaper': '/roses-writepen/business/examinationPaperRecord/selectExamPaperByMember',
	'getCheckPaperList': '/roses-writepen/business/examinationPaperRecord/selectExamPaperRecordNoRaw',
	'readPaper': '/roses-writepen/business/businessClassOperation/markingPaperByStudent', // 阅卷
	confirmScore: '/roses-writepen/business/businessClassOperation/markingPaperByStudentEnd', // 设置学生试卷分值
	getScore: '/roses-writepen/business/businessClassOperation/markingPaperFindScore',
	'stuQuestionAnswer': '/roses-writepen/questionRecord/selectQuestionRecordById',
	'stuQuestionAnswerByPaper': '/roses-writepen/questionRecord/selectQuestionRecordNoRaw',
	'getOperationById': 'roses-writepen/business/businessClassOperation/selectClassOperationById'
}

// 试题篮
URL.QuestionCart = {
	'delFavor':'/roses-writepen/memberQuestion/deleteMemberQuestion',
	'addFavor':'/roses-writepen/memberQuestion/addMemberQuestion',
	'getFavorList':'/roses-writepen/memberQuestion/getMemberQuestionList',
	'list': '/roses-question/questionCart/selectQuestionCartList',
	'add': '/roses-question/questionCart/addQuestions',
	'del': '/roses-question/questionCart/deleteQuestions',
	'delAll': '/roses-question/questionCart/deleteAll',
	'isExist': '/roses-question/questionCart/checkQuestionIds'
}

URL.report = {
	'classReport': '/roses-writepen/presentation/selectPresentationList',
	'generateReport': '/roses-writepen/teachingAssistantMarkingController/teachingAssistantCatalogGeneratePresentation'
}

// 组卷模块
URL.PaperInfo = {

	'bookTree': 'roses-question/catalog/getdirectoryNodes', // 章节树
	'knowledgeTree': 'roses-question/knowledgePoint/getKnowledgePointNodes', // 知识点树
	'QuestionQueryInit': 'roses-question/question/getQuestionInit'
}

URL.question = {

	SameQuestion: '/roses-question/question/getIntelligentChangeQuestions', // 智能换题
	KnowledgePoint: '/roses-question/knowledgePoint/getKnowledgePoint', // 查询知识点
	BookLevels: '/roses-question/question/getLevels', // 查询教材版本
	questionType: '/roses-question/questionType/selectQuestionType', // 查询题目类型
	QuestionQuery: 'roses-question/question/getQuestions'
}

URL.readPaper = {

	'readPaperStart': '/roses-writepen/business/businessClassOperation/examByCreate'
}
export {URL}
export default class UrlConfig {
}
